# -*- utf-8 -*-
__author__ = 'huskier'

import matplotlib.pyplot as plt
import numpy as np

fig = plt.figure()
ax1 = fig.add_subplot(111)
t = np.arange(0,100,0.1)
y1 = np.sin(t)
y2 = np.cos(t)*5

ax2 = ax1.twinx()

ax1.plot(t,y1,color = 'b')
ax2.plot(t,y2,color = 'r')
ax1.set_title("wokao")
fig.suptitle("ddd")
plt.show()

